hadrian-disable-threaded
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)
committerIlias Tsitsimpis <iliastsi@debian.org>
Sat, 24 Jan 2026 12:41:42 +0000 (14:41 +0200)
===================================================================

Gbp-Pq: Name hadrian-disable-threaded

hadrian/hadrian.cabal

index 27c713d3e876186fe58b519781371da2fd9fcea0..0dd0793b1d703c3e4ecf4d151ad892d7c923b1f2 100644 (file)
@@ -18,7 +18,7 @@ source-repository head
 -- To accommodate #16873
 flag threaded
     manual:              True
-    default:             True
+    default:             False
     description:         Build with the threaded runtime for improved
                          performance. Users with bootstrap compilers
                          which don't support the threaded runtime should
@@ -177,14 +177,6 @@ executable hadrian
                        -rtsopts
                        -fno-ignore-asserts
 
-    if flag(threaded)
-      ghc-options:
-                       -- * -I0: Disable idle GC to avoid redundant GCs while
-                       --        waiting for external processes
-                       -- * -qg: Don't use parallel GC as the synchronization
-                       --        time tends to eat any benefit.
-                       "-with-rtsopts=-I0 -qg"
-                       -threaded
 
     if flag(selftest)
       other-modules:   Rules.Selftest